package com.banksoft.cps.dao;

import com.banksoft.cps.bean.MonitorVideo;
import com.banksoft.cps.bean.query.MonitorVideoQuery;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by rongzhao.zhu on 2018/8/28.
 */
@Repository
public interface MonitorVideoDao {

    List<MonitorVideo> list(MonitorVideoQuery query);

    long count(MonitorVideoQuery query);

    void insert(MonitorVideo bean);
    void update(MonitorVideo bean);

    void delete(String id);
}
